var express = require('express');
var router = express.Router();

/* GET home page. */

router.get('/', function(req, res, next) {
  // res.render('index', { title: 'BiuBiuBiu' });
});
router.get('/*',(req,res,next)=>{
    console.log(req.url);
    res.render('index')
    // next();
})
router.get('/api/getName',(req,res,next)=>{
    res.send('陈宗豪');
})
module.exports = router;
